package com.schedualnew.mq.dto.esb.mq.send;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Data;

import java.util.List;

/**
 * @author ljy aka ryan
 * @date 2022/6/15 15:59
 * @description TODO
 */
@Data
public class SendMsg {

    @JacksonXmlProperty(isAttribute = true)
    private String id;

    @JacksonXmlProperty(isAttribute = true)
    private String lastUpdate;

    @JacksonXmlProperty(isAttribute = true)
    private String action;

    /**
     * 数据明细
     */
    @JacksonXmlElementWrapper(localName = "DETAILS")
    @JacksonXmlProperty(localName = "DETAIL")
    private List<Object> detail;



    @JacksonXmlProperty(localName = "ELECTR_REQUISITION_NO")
    private String ELECTR_REQUISITION_NO;

    @JacksonXmlProperty(localName = "OPER_DATE")
    private String OPER_DATE;

    /**
     * 开单医生id
     */
    @JacksonXmlProperty(localName = "OPER_STAFF_INDEX_NO")
    private String OPER_STAFF_INDEX_NO;

    @JacksonXmlProperty(localName = "REQUISITION_STATUS")
    private String REQUISITION_STATUS;

    @JacksonXmlProperty(localName = "NOTE")
    private String NOTE;

    /**
     * 预约时间
     */
    @JacksonXmlProperty(localName = "RESERVE_EXAM_DATE")
    private String RESERVE_EXAM_DATE;

    /**
     * 状态编码
     */
    @JacksonXmlProperty(localName = "REQUISITION_STATUS_CODE")
    private String REQUISITION_STATUS_CODE;

    /**
     * 预约队列名称
     */
    @JacksonXmlProperty(localName = "SCHEDULE_QUEUE_NAME")
    private String SCHEDULE_QUEUE_NAME;

}
